import type {BaseTableProps} from './type'
const TableHead:React.FC<BaseTableProps>=(props)=>{
    const {colums}= props
    return (
      <thead>
          <tr>
            {
              colums && colums.map((column: any, columnIndex: number) => {
                return (
  
                  <th key={columnIndex} className='border-b dark:border-slate-600 font-medium p-4 pl-8 pt-0 pb-3 text-slate-400 dark:text-slate-200 text-left'>
                    {column.title}
                  </th>
                )
              })
            }
          </tr>
        </thead>
    )
  }


  export default TableHead